package com.baizhi.app.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class Album implements Serializable {
    private  int album_id;
    private String album_name;
    private String album_author;
    private String album_teller;
    private  int album_Episodes;
    @DateTimeFormat(pattern ="yyyy/MM/dd HH:mm:ss")
    private Date album_date;
    private String album_content;
    private String album_image;
    private int album_star;

    public Album() {
    }

    public Album(int album_id, String album_name, String album_author, String album_teller, int album_Episodes, Date album_date, String album_content, String album_image, int album_star) {
        this.album_id = album_id;
        this.album_name = album_name;
        this.album_author = album_author;
        this.album_teller = album_teller;
        this.album_Episodes = album_Episodes;
        this.album_date = album_date;
        this.album_content = album_content;
        this.album_image = album_image;
        this.album_star = album_star;
    }

    public int getAlbum_id() {
        return album_id;
    }

    public void setAlbum_id(int album_id) {
        this.album_id = album_id;
    }

    public String getAlbum_name() {
        return album_name;
    }

    public void setAlbum_name(String album_name) {
        this.album_name = album_name;
    }

    public String getAlbum_author() {
        return album_author;
    }

    public void setAlbum_author(String album_author) {
        this.album_author = album_author;
    }

    public String getAlbum_teller() {
        return album_teller;
    }

    public void setAlbum_teller(String album_teller) {
        this.album_teller = album_teller;
    }

    public int getAlbum_Episodes() {
        return album_Episodes;
    }

    public void setAlbum_Episodes(int album_Episodes) {
        this.album_Episodes = album_Episodes;
    }

    public Date getAlbum_date() {
        return album_date;
    }

    public void setAlbum_date(Date album_date) {
        this.album_date = album_date;
    }

    public String getAlbum_content() {
        return album_content;
    }

    public void setAlbum_content(String album_content) {
        this.album_content = album_content;
    }

    public String getAlbum_image() {
        return album_image;
    }

    public void setAlbum_image(String album_image) {
        this.album_image = album_image;
    }

    public int getAlbum_star() {
        return album_star;
    }

    public void setAlbum_star(int album_star) {
        this.album_star = album_star;
    }

    @Override
    public String toString() {
        return "Album{" +
                "album_id=" + album_id +
                ", album_name='" + album_name + '\'' +
                ", album_author='" + album_author + '\'' +
                ", album_teller='" + album_teller + '\'' +
                ", album_Episodes=" + album_Episodes +
                ", album_date=" + album_date +
                ", album_content='" + album_content + '\'' +
                ", album_image='" + album_image + '\'' +
                ", album_star=" + album_star +
                '}';
    }
}
